package com.microblog.microblogsystem.domain.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel("添加博客信息参数")
public class BlogDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Long id;

    @ApiModelProperty(value = "博客文章内容")
    private String content;

    @ApiModelProperty(value = "博客文章图片")
    private String images;

    @ApiModelProperty(value = "1:原创 2：转发")
    private Integer state;

    @ApiModelProperty(value = "如果state为2，则此处为转发的blog的ID")
    private Integer fromBid;

    @ApiModelProperty(value = "博客文章标题")
    private String title;

    @ApiModelProperty(value = "类型id")
    private Long tid;
}
